<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>工作时间分析 - 全屏</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    body {
      background: #1a1a2e;
      color: #fff;
      height: 100vh;
      overflow: hidden;
    }
    
    #container {
      display: flex;
      flex-direction: column;
      height: 100vh;
      padding: 20px;
      max-width: 1800px;
      margin: 0 auto;
    }
    
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding: 15px 0;
      border-bottom: 1px solid #4a5568;
    }
    
    h1 {
      font-size: 2.5rem;
      color: #e6e6ff;
      letter-spacing: 1px;
      background: linear-gradient(45deg, #4e54c8, #8f94fb);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
    }
    
    .controls {
      display: flex;
      gap: 15px;
      align-items: center;
    }
    
    #month-selector {
      padding: 12px 20px;
      border-radius: 30px;
      border: 2px solid #8f94fb;
      background: rgba(79, 86, 203, 0.2);
      color: #fff;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238f94fb'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 15px center;
      background-size: 16px;
      padding-right: 50px;
      outline: none;
      transition: all 0.3s;
    }
    
    #month-selector:focus {
      border-color: #4e54c8;
      box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.3);
    }
    
    #month-selector option {
      background: #1a1a2e;
      color: #fff;
      padding: 10px;
    }
    
    #chart-container {
      flex: 1;
      display: flex;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      background: linear-gradient(145deg, #16213e, #1a1a2e);
      padding: 20px;
    }
    
    #chart {
      height: 100%;
      width: 100%;
    }
    
    #stats {
      display: flex;
      justify-content: space-around;
      margin-top: 30px;
      gap: 20px;
    }
    
    .stat-card {
      flex: 1;
      background: rgba(30, 31, 55, 0.8);
      border-radius: 15px;
      padding: 25px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: all 0.3s;
      border-bottom: 4px solid #4e54c8;
    }
    
    .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
      background: rgba(45, 46, 73, 0.8);
    }
    
    .stat-card h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
      color: #b8b8d1;
      font-weight: 500;
    }
    
    .stat-card p {
      font-size: 2.3rem;
      font-weight: 700;
      color: #fff;
      margin: 0;
    }
    
    @media (max-width: 1200px) {
      #stats {
        flex-direction: column;
      }
      
      .stat-card {
        margin: 0 10%;
      }
    }
  </style>
  <script src="echarts.min.js"></script>
</head>
<body>
  <div id="container">
    <header>
      <h1>工作时间分析（全屏模式）</h1>
      <div class="controls">
        <select id="month-selector">
          <!-- 月份选项由JS动态生成 -->
        </select>
      </div>
    </header>
    
    <div id="chart-container">
      <div id="chart"></div>
    </div>
    
    <div id="stats">
      <div class="stat-card">
        <h3>本月应工作</h3>
        <p id="expected-hours">0 小时</p>
      </div>
      <div class="stat-card">
        <h3>本月已工作</h3>
        <p id="actual-hours">0 小时</p>
      </div>
      <div class="stat-card">
        <h3>完成度</h3>
        <p id="completion">0%</p>
      </div>
    </div>
  </div>
  <script src="fullscreen.js"></script>
</body>
</html>